package agenda.client;

import agenda.shared.model.Contato;

import com.google.gwt.user.client.rpc.RemoteService;

import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("contatos")
public interface ContatosService extends RemoteService {
	String ContatosServer(Contato contato) throws IllegalArgumentException;
	Contato getContato (long Codigo) throws IllegalArgumentException;
	
}
